<template>
  <div>
    
  </div>
</template>

<script setup>
import { ref } from "vue";
const formModelItems = reactive([
    {
        field:"score",
        label:"分数",
        placeholder:"请输入分数",
        type:"select",
        rules: [{ required: true, message: "请先填写分数", trigger: "change" }],
    },
])

export function getUnamePwd() {
  let info = localStorage.getItem(Key);

  if (info) {
    // 将获取到的JSON字符串转换为JavaScript对象
    let infoObj = JSON.parse(info);

    // 将密码从base64编码转换回原始字符串
    infoObj.pwd = atob(infoObj.pwd);

    // 返回包含用户名和密码（已解码）的对象
    return infoObj;
  }

  return null;
}

</script>

<style scoped>

</style>